package com.easy.frame.servers.sys.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.easy.frame.base.api.pojo.BasePO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 业务类型表
 *
 * @author tp
 * @since 2021-01-20
 */
@Getter
@Setter
@ToString
@TableName("sys_business_type")
@ApiModel("业务类型表")
public class SysBusinessType extends BasePO {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("业务类型名称")
    private String name;

    @ApiModelProperty("业务类型编码")
    private String code;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("是否授权")
    private Integer isAuth;

    @ApiModelProperty("租户ID")
    private Long tenantId;

}
